{*
Pro Clan Manager is a website manager for multiplayer game teams. Pro Clan manager was designed and built by Andrew Fenn.
Copyright (C) 2002 Andrew Fenn

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*}
{* THE CONTROL PANEL HTML *}
{if empty($m_panel_select)}
	<div style="position: relative; height: 400px;">		<div style="margin-top: 20px;">			{cycle name="m_margin_size" values="50,175,300,425" print=false advance=false}			{cycle name="m_margin_top" values=",margin-top:-117px;,margin-top:-117px;,margin-top:-117px;" print=false advance=false}			<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="userarea.php?page=editpic"><img src="theme/{$g_theme_dir}/gfx/userprefs.png" border="0" alt="{$g_lang_panel_user}" /><br />{$g_lang_panel_user}</a></div>
			<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="userarea.php?page=editpass"><img src="theme/{$g_theme_dir}/gfx/userpass.png" border="0" alt="{$g_lang_panel_usrpass}" /><br />{$g_lang_panel_usrpass}</a></div>			{if $g_user->m_user_access.NEWSEDIT > 0 or $g_user->m_user_access.NEWSVIEW > 0 or $g_user->m_user_access.NEWSADD > 0}
				<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="news.php"><img src="theme/{$g_theme_dir}/gfx/news.png" border="0" alt="{$g_lang_panel_news}" /><br />{$g_lang_panel_news}</a></div>
			{/if}
			{if $g_user->m_user_access.ADMIN  > 0}
				<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="admin.php"><img src="theme/{$g_theme_dir}/gfx/admin.png" border="0" alt="{$g_lang_panel_admin}" /><br />{$g_lang_panel_admin}</a></div>
			{/if}
			{if $g_user->m_user_access.POLLDEL > 0 or $g_user->m_user_access.POLLVIEW > 0 or $g_user->m_user_access.POLLADD > 0}
				<div style="margin-left: {cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="poll.php"><img src="theme/{$g_theme_dir}/gfx/polls.png" border="0" alt="{$g_lang_panel_poll}" /><br />{$g_lang_panel_poll}</a></div>
			{/if}
			{if $g_user->m_user_access.RANKEDIT > 0 or $g_user->m_user_access.RANKDEL > 0 or $g_user->m_user_access.RANKADD > 0}
				<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="ranks.php"><img src="theme/{$g_theme_dir}/gfx/ranks.png" border="0" alt="{$g_lang_panel_rank}" /><br />{$g_lang_panel_rank}</a></div>
			{/if}
			{if $g_user->m_user_access.FILEEDIT > 0 or $g_user->m_user_access.FILEDEL > 0 or $g_user->m_user_access.FILEADD > 0}
			<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="download.php"><img src="theme/{$g_theme_dir}/gfx/files.png" border="0" alt="{$g_lang_panel_file}" /><br />{$g_lang_panel_file}</a></div>
			{/if}
			{if $g_user->m_user_access.SCRNADD > 0 or $g_user->m_user_access.SCRNDEL > 0}
				<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="gallery.php"><img src="theme/{$g_theme_dir}/gfx/gallery.png" border="0" alt="{$g_lang_panel_gallery}" /><br />{$g_lang_panel_gallery}</a></div>
			{/if}
			{if $g_user->m_user_access.USEREDIT > 0 or $g_user->m_user_access.USERDEL > 0 or $g_user->m_user_access.USERADD > 0}
				<div style="margin-left: {cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="users.php"><img src="theme/{$g_theme_dir}/gfx/editusers.png" border="0" alt="{$g_lang_panel_edituser}" /><br />{$g_lang_panel_edituser}</a></div>
			{/if}
			{if $g_user->m_user_access.EVENTEDIT > 0 or $g_user->m_user_access.EVENTDEL > 0 or $g_user->m_user_access.EVENTADD > 0 or $g_user->m_user_access.EVENTVIEW > 0}
				<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="events.php"><img src="theme/{$g_theme_dir}/gfx/userprefs.png" border="0" alt="{$g_lang_panel_events}" /><br />{$g_lang_panel_events}</a></div>
			{/if}
			{if $g_user->m_user_access.ADMIN  > 0}
				<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="modules.php"><img src="theme/{$g_theme_dir}/gfx/modules.png" border="0" alt="{$g_lang_panel_modules}" /><br />{$g_lang_panel_modules}</a></div>
			{/if}
			<div style="margin-left:{cycle name="m_margin_size"}px; {cycle name="m_margin_top"}"><a href="userarea.php?action=logout"><img src="theme/{$g_theme_dir}/gfx/logout.png" border="0" alt="{$g_lang_panel_logout}" /><br />{$g_lang_panel_logout}</a></div>
		</div>
	</div>
{/if}